package middleware

import (
	"fmt"

	"github.com/gin-gonic/gin"
	"go.uber.org/zap"
)

func OutPutPathMethod(c *gin.Context) {
	fmt.Println(c.FullPath())
	fmt.Println(c.Request.Method)
	Logger.Info("OutPutPathMethod success",
		zap.String("FullPath->", c.FullPath()),
		zap.String("Request.Method->", c.Request.Method),
	)
	c.Next()
}
